<?php
$server = 'localhost';
$username = 'root';
$password = '';
$database = 'test';
$prefix = ''; // leave empty will back up all tables
$exclude = array();	// which don't you want back up
$target = '../'; // files holder, either absolute or relative path, './' for current dir
$gzipped = true;	// default 'true' (please use 'true' for safemode) 
$small_memory = true;	// set to 'false' for faster operation, requires more memory
$clear_db = true; // drop all tables in the current db


/** edit if you really want to do
 *  CONFIGURATION
  The default values are usually the best
  - MAXLENGTH: maximum length of a query. Default 100000
  - REMARK: remark character. Default '#' (may be '--' with mysqldump)
  - TIMEOUT: script timeout (in second), don't set too high
      Default 600 (enough for 1 GB database with a fast server)
  - MAXGZIP: max uncompressed filesize can gzip (depends on memory), works in NORMAL mode
      Default 25 MB (if greater, you should switch to BIGDATA mode)
  - PARSESQL: support multi-lines sql data. Must set to 'true' if you want to restore
      from data of other scripts. Default 'false'
  - BIGDATA: enable BIGDATA mode for restore data, incompatible with PARSESQL, MAXGZIP
      support gzipped and very large data (a few GB). Run a little bit more slowly
      Default 'true'
  - TMP_DIR: directory in which temporary file will be create. If not specify, default 'TMP dir' will be used
      (if PHP version support getting this dir), or c:\windows\temp for Windows, /tmp for others
      Set '.' to use current directory
      Default '' (empty/not specified)
  - DIRECT_DL: download backup file directly, not store it on the disk
 */
define('MAXLENGTH', 100000);
define('REMARK', '#');
define('TIMEOUT', 600);
define('MAXGZIP', 26214400);
define('PARSESQL', false);
define('BIGDATA', true);
define('TMP_DIR', '');    // leave empty to use default dir
define('DIRECT_DL', false);

if (function_exists('date_default_timezone_set')) {
  date_default_timezone_set('Asia/Saigon');
}
